@mixin text_overflow($line:2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*设置对齐模式*/
    -webkit-line-clamp: $line;
    /*设置多行的行数，示例为2行*/
}

.announcement_detail {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    box-sizing: border-box;
    word-break: break-all;

    .detail_container {
        flex: 1;
        overflow-y: auto;

        .announce_header {
            padding: 24px 29px 26px 29px;
            border-bottom: 1px solid #e1e1e1;

            .title {
                font-size: 36px;
                font-weight: normal;
                font-stretch: normal;
                line-height: 48px;
                letter-spacing: 0px;
                vertical-align: middle;
                @include text_overflow();
                .department_tag{
                    display: inline-block;
                    vertical-align: middle;
                    height: 30px;
                    padding: 0 11px;
                    margin-left: 9px;
                    font-size: 20px;
                    color: #fff;
                    line-height: 33px;
                    border-radius: 193px;
                    box-sizing: border-box;
                    background-color: #0099ff;
                }
            }

            .foot_tag {
                display: flex;
                align-items: center;
                margin-top: 18px;

                .icon {
                    display: inline-block;
                    margin-right: 3px;
                    vertical-align: middle;
                    width: 24px;
                    height: 24px;
                    background-size: contain;
                    background-position: center;
                }

                .departant,
                .time,
                .count {
                    display: flex;
                    align-items: center;
                    margin-right: 40px;
                    height: 33px;
                    line-height: 33px;
                    color: #999999;
                }

                .departant {
                    .icon {
                        background-image: url(../images/department.png);
                    }
                }

                .time {
                    .icon {
                        background-image: url(../images/clock.svg);
                    }
                }

                .count {
                    .icon {
                        background-image: url(../images/eye.svg);
                    }
                }

            }
        }

        .announce_content {
            padding: 25px 30px 40px;
            border-bottom: 1px solid #e1e1e1;
            font-size: 30px;
            font-weight: normal;
            font-stretch: normal;
            line-height: 48px;
            letter-spacing: 0px;
            // color: #999999;
            user-select: auto;
            margin-bottom: 48px;
            word-break: break-all;
            img{
                max-width: 100%;
            }
        }

        .file_container {
            .image_box {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;

                .imgItem {
                    width: 200px;
                    height: 200px;
                    margin-left: 25px;
                    margin-bottom: 20px;

                    .imgSrc {
                        display: block;
                        width: 200px;
                        height: 200px;
                        border-radius: 5px;
                    }
                }
            }

            .file_box {
                padding: 0 30px;
            }
        }
    }

    .footer_option {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 200px;

        .del{
            // border-color: rgba($color: #ff2f21, $alpha: .5);
            border-color:#F1A6AC;
        }
    }
}

.custom_confirm_box {

    .title,
    .text {
        text-align: center;
    }

    .title {
        font-weight: 700;
        font-size: 34px;
        font-stretch: normal;
        line-height: 48px;
        letter-spacing: 0px;
        color: #000000;
    }

    .text {
        margin-top: 30px;
        font-family: PingFang SC;
        font-size: 32px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 45px;
        letter-spacing: 0px;
        color: #333333;
    }
}